package com.ruoyi.project.rf.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.project.bas.msgTray.domain.TrayCodeMsg;
import com.ruoyi.project.in.stockindetail.domain.StockinDetail;
import com.ruoyi.project.mydo.detail.domain.MydoJobDetail;
import com.ruoyi.project.rf.domain.BasJxTaiChe;
import com.ruoyi.project.stock.stock.domain.BasStock;

import java.util.List;
import java.util.Map;

/**
 * 物资入库Service接口
 *
 * @author wz
 * @date 2021-11-16
 */
public interface IPdaService {

    TrayCodeMsg selectstockinDetailById(String inStockDetailId);
    List<StockinDetail> selectstockinDetail(TrayCodeMsg trayCodeMsg);

    List<String> selectInStockIdByStatus(String status,String inType);

    List<String> selectInStockDIdByStockId(String stockId);

    String selectStackTypeByTrayCode(String trayCode);

    Map<String, String> msgSure( TrayCodeMsg trayCodeMsg);

    Map<String, String> refluxSure( String trayCode);

    Map<String, String> selectFinishOut( String trayCode);

    Map<String, String> saveJob(MydoJobDetail mydoJob);


    String outStockSure(String trayCode);
    AjaxResult outStockSureL(String trayCode);

    List<MydoJobDetail> checkMsg(String trayCode);

    String pdStockSure(List<MydoJobDetail> detailList);

    AjaxResult trayLIn(String trayCode);

    String trayIn(String trayCode, Integer quantity);

    String trayOut(String exitId);

    AjaxResult trayLOut(String exitId,String quantity);

    AjaxResult selectTrayInfo(String trayCode);

    AjaxResult saveJobX(StockinDetail stockinDetail);

    String pickingIn(BasStock basStock);

    AjaxResult inTemp(Map<String, String> params);

    AjaxResult inTempFinish(Map<String, String> params);

    AjaxResult inTempSure(Map<String, String> params);

    String pickingIn2(BasStock basStock);

    String pickingOut(BasStock basStock);

    List<MydoJobDetail> listByTrayCode(String trayCode);

    String pdStockSureIn(String trayCode);

    AjaxResult changeSpace(String trayCode1,String trayCode2,String selectCargo);


    AjaxResult addKTPIn(String trayCode,String entrance);

    AjaxResult outSure(String trayCode,String JxtrayCode,String newTarSite);

    List<BasJxTaiChe> selectTray(String trayCode);

    AjaxResult submitTaiChe(String trayCode, String entranceId);

    AjaxResult ktpInStock(String trayCode, String theFloor, String thePlatoon);

    AjaxResult storeGoods(String trayCode);

    void updateSerialNoByTaskId(String taskId, String serialNo);
}
